<!DOCTYPE html>
<html>
<head>
<!--
    Tests that block formatting context inline-size speculation works when the floats that impact
    the block formatting context are cleared.
-->
<style>
#a {
    background: silver;
    height: 150px;
    width: 150px;
    float: right;
}
#b {
    background: goldenrod;
    height: 300px;
    overflow: hidden;
}
</style>
</head>
<body>
<div id=a></div>
<div id=b></div>
</body>
</html>

